package decorator.demo3;

/**
 * @author GongXincheng
 * @since 2019-09-20 20:31
 */
public class Main {

    public static void main(String[] args) {
        Component component = new DecoratorA(new DecoratorB(new ConcreteComponent()));
        component.operation();
    }


}
